package com.bfl.sa.sys.user.mapper;

import com.bfl.sa.common.mapper.BaseMapper;
import com.bfl.sa.common.mybatis.entity.Query;
import com.bfl.sa.sys.user.entity.UserOnline;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserOnlineMapper extends BaseMapper<UserOnline, String> {

    List<UserOnline> findExpiredUserOnlineList(Query query);

    void batchDelete(@Param("ids") List<String> needExpiredIdList);

}
